<template>
    <div class="formQuery">
        <el-form :inline="true" :model="queryParam" class="demo-form-inline">
        
        <el-form-item label="图号">
            <el-input size="mini" v-model="queryParam.itemCode" placeholder="图号"></el-input>
        </el-form-item>
        <el-form-item label="质量编号">
            <el-input size="mini" v-model="queryParam.qualityCode" placeholder="质量编号"></el-input>
        </el-form-item>
        <el-form-item label="型号">
            <el-input size="mini" v-model="queryParam.mProductNumber" placeholder="型号"></el-input>
        </el-form-item>
        <el-form-item label="条码">
            <el-input size="mini" v-model="queryParam.barcode" placeholder="条码"></el-input>
        </el-form-item>
        <!-- <el-form-item label="接收时间">
            <el-input size="mini" v-model="queryParam.receiveTime" placeholder="接收时间"></el-input>
        </el-form-item> -->
        <!-- <el-form-item label="架份">
            <el-select size="mini" v-model="queryParam.lotNum" placeholder="请选择几架份">
                <el-option v-for="item in lotNums" :label="item.key" :key="item.value" :value="item.value"></el-option>
            </el-select>
        </el-form-item> -->
        </el-form>
        <el-button size="mini" type="primary" @click="query">查询</el-button>
        <el-button size="mini" type="primary">重置</el-button>
    </div>
</template>
<script>
export default {
    data() {
      return {
        queryParam: {
          mProductNumber: "",
          itemCode: "",
          mProductNumber:"",
          qualityCode:""
        }
      }
    },
    methods:{
      query(){
            this.$bus.$emit("receiveQueryParam",this.queryParam);
      },
      handleQuery(){
        accountQuerySearch({
          searchParams:this.queryParam,
          pageParameter: {
            rows: this.pageSize,
            page: this.pageNumber,
          },
          startDate:this.startDate,
          endDate:this.endDate,
        }).then((res)=>{
          // 将条件查找的数据传给Table
          this.$bus.$emit("ImIqSearchData", res.data.responseBody);
          // console.log("库存台账查询Search", res);
          if(res.data.retCode == 201) {
            this.$Alert({
              title: "失败",
              message: res.data.message,
              type: "error",
            });
          }
        })
      }
  },
  mounted(){
   
  }
}
</script>